<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/WEB-INF/template.xhtml">
	<ui:define name="title">Login</ui:define>
	<ui:define name="body">
		<script type="text/javascript" src="./deployJava.js"></script>
		<script type="text/javascript" src="./deploy-eid-applet.js"></script>
		<script type="text/javascript">
			var attributes = {
				code : 'be.fedict.eid.applet.Applet.class',
				archive : 'eid-applet-package-${eid-applet.version}.jar',
				width : 600,
				height : 300
			};
			var parameters = {
				TargetPage : 'post-login.jsf',
				AppletService : 'applet-service;jsessionid=#{facesContext.externalContext.getSession(false).id}'
			};
			deployJavaEIDApplet.runApplet(attributes, parameters);
		</script>
	</ui:define>
</ui:composition>